Repository navigation
Conversation
…n view of every guard's sight Guards with nobody else noticed say a line, look round for a few seconds and go back to their route after killing or downing their target. Hits from a second attacker during a fight are remembered. Wary now fades after three minutes with nothing new. Admins can show the sight of every guard on their level at once. The notice map moves off the blackboard, whose qdel sweep runtimed on it.
The ally check walked get_line(), which takes one turf per step. A shot at an angle clips turfs beside that line, so a gunner fired past a guard standing next to its target and hit him. The check now walks every turf the straight line passes through.
…er 60 s The ? fills as a guard notices you and only you see it. Alert is a red ! for everyone; it drains while the guard has lost you, then turns into a yellow ? that drains over the search. Drawn on the guard, so never through walls, and above the lighting so it reads in the dark. Built only with a player nearby. Wary now fades after 60 seconds with nothing new.
Standing marks sit 6 px higher and follow the head's height offset; a lying guard's mark clears its body. No own ? shows in the moment after a search ends.
Guards walk back to their route or post after a chase instead of turning sentry, in legs when it is far. Only being carried to another level or map region makes a sentry; a guard that can't get back waits and retries. The AI stays fully awake while any living player is on the level, the scan runs from planning instead of the behaviour queue, and long walks are no longer cancelled every step. An alert guard still notices others and turns on someone clearly nearer or on whoever hits it, at most once every few seconds. A glimpse while searching is an alert. Notice is capped, and only what it sees now decides its state. The candidate cap counts only those it can perceive. A box that moves at its shoulder or bumps it is noticed. Blasts, fire, gas and stuns with nobody to blame send it and nearby friends searching. Cuffs, syringes, the strip menu and thrown items count as touches. The head mark exists only while the scan runs, so it clears on cuffs, stuns and player control. A player in the body gets no reactions.
…witch, box, blast, cuffs
…nocks, glass, doors, bodies, shouts and radios Guards react to noise as a group. A small noise sends one guard to look, a second at the same spot two, a third everyone; a guard that never comes back is missed. Gunfire, blasts and screams send the nearest few running while sentries hold. Suppressed guns are heard only close by and in the open. Running is heard and walking is not, by tg's own footstep rules, and running no longer makes you easier to see. Guards who see or feel someone shout for help; lookouts carry an earpiece and call it in after three seconds unless they are dropped, jammed or EMPed first. A guard that heard something shows a grey ?. No sound ever gives a guard a target. Adds the Stealth Noise admin verb and a noise view.
…ets, a window, a locked door, carpet and plating
…sing guard, alarms, shouts, radios, and real shots, throws, knocks, falls, emotes and blasts
Guards switch a belt seclite on in the dark and whenever they are on edge; an EMP cuts it out. A body found mid-search is called out, a quick volley from one spot counts as one noise, and sentries keep facing their post.
…the dark, and stop flickering lights Point-blank sight within 2 tiles in the cone is an alert on that look, with a quick look between scans; 3-4 tiles fill three times faster. The close radius behind a guard needs light that isn't its own beam. A guard's own spot is judged without any guard seclites. No missing-friend line over a reported body. An AI-switched light is re-laid as a turn would. Diagonal AI steps cost what a player's do. The test room's east room gets a floor light in the middle.
… drop them, a matte knife backstabs, and their seclites can be looted
Stepping on broken glass or a dropped bulb makes a small noise guards go to look at, even at a walk. Every door a player opens or shuts makes a small noise, and a guard who sees one move goes to look unless one of its own is beside it; a door that keeps moving is only looked at twice in three minutes. Guard skill comes from a green, yellow or red profile picked by the den's zone, a mapper var or an admin action; yellow is the old tuning. A gunner now steps back two tiles to shoot open a locked locker, since a gun beside one only bashes it.
…rn, walk their patrols and don't snap-spot right after turning
tg's light setters don't rebuild a COMPLEX_LIGHT source, so the hidden lamp never emitted. Call update_light() when it switches or changes range.
…s post mid-timing
…dd a back hatch, let sentries step toward small noises
…scav pass fool them by stage, they stop and ask for the pass, and weapons, running, bodies and known faces blow it
… a jungle planet there, clears the ground and loads the stealth test room, and drops the admin outside in a mortal playtest kit
… get red work lights
… way, and the corridor-corner camera looks along both corridors
tg's pull turned him to face the attacker and shifted him 6 px, and the neck grab's floor trait laid him down for a second before he got up again. The pull offsets come off and his facing is restored in the same tick, and he is forced standing for the instant the floor trait is added and taken off.
…tg's slit maths, a takedown keeps its hold when the attacker turns or drags, and den vaults can pay a garrotte or a gun kata chip
… told to drop his locked gun puts it away, and the takedown test lets the alert settle
… cuts with the knife from his hand The hold from behind is redrawn. The attacker steps in chest to back, his arms are stand-ins built from his own picture (his real arms are hidden while they show), one hand takes the victim's shoulder and the other brings his held knife to the throat. The victim is hauled back, fights the hold, and a survivor stumbles clear with a hand at his throat. Bodies and arms are tweened through the same moments so hands stay on what they hold, and both bodies end on the middle of their own tiles. A broken wind-up eases everything back. Blood follows hv_knife_exec_spray (worked out here until this branch meets feature/stealth's knife_executions.dm): a critical cut sprays two tiles ahead, a shallower one throws no spray of its own. The stab no longer opens the skull wound picture. A lying victim, or an attacker at a back corner, gets a plain lean-in and jab.
…nd on and stays hidden behind the victim's head
…r NPCs and the helpless keep the 1.5 s hold
…oodied butchers with cleavers and bone saws, hatchets and short blades, Makarovs and red-zone mini Uzis
…ed den guards wear red lenses, and harvesters' gloves are bloodied
… head armour wound maths
…ring and throat spurt
# Conflicts: # tgstation.dme # voidcrew/modules/hyperviolence/crits/crit_roll.dm # voidcrew/modules/hyperviolence/overlays_exec/executions.dm # voidcrew/modules/hyperviolence/visuals/_defines.dm
…hip and the test planet move out, and a gun held on a neck-grabbed hostage poses them in front of the holder
…oke so its tip doesn't show past the victim's head
… and the matte knife in its vault
…den and drops the admin outside it in a playtest kit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human NPC guards can be snuck past, knifed from behind or held off with one of their own at gunpoint, and a rare scav den is built around them. This is also the stealth layer the outpost security in #537 is built on.
Guards
Sight
?over a guard's head means it noticed something and is coming to look. A!means it has seen you.Hearing
Patrols
Disguises
Kills
Hostages
Scav chop shop
A rare space ruin. Crews find it with a "contested-lane tip: scav chop shop" chart bought at an outpost.
Images
A knife from behind: the hold, the cut and the blood thrown forward.
The scav chop shop in game: guard posts, patrol stops, camera sweeps and a way in from each airlock.
For reviewers
voidcrew/modules/stealth/(the den isscav_den.dm,scav_camera.dmand_maps/voidcrew/RandomRuins/SpaceRuins/rare_scav_den.dmm), the knife cut invoidcrew/modules/hyperviolence/overlays_exec/knife_executions.dmand its motion invoidcrew/modules/hyperviolence/visuals/knife_execution_motion.dm, defines invoidcrew/_DEFINES/stealth*.dm, tests invoidcrew/modules/unit_tests/voidcrew_stealth_*.dmandvoidcrew_hv_knife_executions.dm./mob/living/carbon/human/npc/ruin/trooper/scav(and/gunner,/lookout) on/datum/ai_controller/basic_controller/human_npc/stealth.